import { createApp } from 'vue';
import App from './App.vue';
import ElementPlus from 'element-plus';
import 'dayjs/locale/zh-cn';
import locale from 'element-plus/lib/locale/lang/zh-cn';
import 'element-plus/lib/theme-chalk/index.css';
import '@/styles/index.scss';
import store from '@/store';
import router from '@/router';
import '@/permission';
const app = createApp(App);
// 全局按钮大小，国际化（默认英文，配置后为中文）
app.use(ElementPlus, { size: 'medium', locale });
app.use(router);
app.use(store);
app.mount('#app');
